﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace postSale.forms
{
    public partial class _maintenanceCardList : baseMaintenanceCartList
    {
        public _maintenanceCardList()
        {
            InitializeComponent();
        }
        protected override void SetDetailGrid()
        {
            base.SetDetailGrid();
            detailGrid.Columns[gridColName.usedTemplate.ToString()].Visible = true;
            detailGrid.Columns[gridColName.warranty1.ToString()].Visible = true;
            detailGrid.Columns[gridColName.warranty2.ToString()].Visible = true;
            detailGrid.Columns[gridColName.warranty3.ToString()].Visible = true;
            detailGrid.Columns[gridColName.warranty4.ToString()].Visible = true;
            detailGrid.Columns[gridColName.actionBtn.ToString()].Visible = true;
            common.sysLibs.AutoFitGridColumn(detailGrid, gridColName.notes.ToString());
        }
    }
}
